package io.iamting93.user.dao;

import io.iamting93.user.pojo.Token;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author boting.guo
 * @date 2021/12/5 22:59
 */

@Mapper
public interface TokenDao {

	void insertToken(@Param("token")Token token);

	Token getToken(@Param("email") String email);

	Token getTokenByEmail(@Param("token") String token);
}
